# RUN: llvm-mc --disassemble %s -triple=mips-unknown-linux -mcpu=mips32 -mattr=+msa | FileCheck %s

0x7a 0x00 0x08 0x20 # CHECK:        ld.b $w0, -512($1)
0x78 0x00 0x10 0x60 # CHECK:        ld.b $w1, 0($2)
0x79 0xff 0x18 0xa0 # CHECK:        ld.b $w2, 511($3)

0x7a 0x00 0x20 0xe1 # CHECK:        ld.h $w3, -1024($4)
0x7b 0x00 0x29 0x21 # CHECK:        ld.h $w4, -512($5)
0x78 0x00 0x31 0x61 # CHECK:        ld.h $w5, 0($6)
0x79 0x00 0x39 0xa1 # CHECK:        ld.h $w6, 512($7)
0x79 0xff 0x41 0xe1 # CHECK:        ld.h $w7, 1022($8)

0x7a 0x00 0x4a 0x22 # CHECK:        ld.w $w8, -2048($9)
0x7b 0x00 0x52 0x62 # CHECK:        ld.w $w9, -1024($10)
0x7b 0x80 0x5a 0xa2 # CHECK:        ld.w $w10, -512($11)
0x78 0x80 0x62 0xe2 # CHECK:        ld.w $w11, 512($12)
0x79 0x00 0x6b 0x22 # CHECK:        ld.w $w12, 1024($13)
0x79 0xff 0x73 0x62 # CHECK:        ld.w $w13, 2044($14)

0x7a 0x00 0x7b 0xa3 # CHECK:        ld.d $w14, -4096($15)
0x7b 0x00 0x83 0xe3 # CHECK:        ld.d $w15, -2048($16)
0x7b 0x80 0x8c 0x23 # CHECK:        ld.d $w16, -1024($17)
0x7b 0xc0 0x94 0x63 # CHECK:        ld.d $w17, -512($18)
0x78 0x00 0x9c 0xa3 # CHECK:        ld.d $w18, 0($19)
0x78 0x40 0xa4 0xe3 # CHECK:        ld.d $w19, 512($20)
0x78 0x80 0xad 0x23 # CHECK:        ld.d $w20, 1024($21)
0x79 0x00 0xb5 0x63 # CHECK:        ld.d $w21, 2048($22)
0x79 0xff 0xbd 0xa3 # CHECK:        ld.d $w22, 4088($23)
